Eclipse Platform
Pre-release 3.0

Uses of Interface
org.eclipse.jface.text.IRegion

Packages that use IRegion
org.eclipse.debug.ui.console

Provides a set of interfaces and classes for rendering and annotating text in the debug console. 

org.eclipse.jface.text Provides a framework for creating, manipulating, displaying and editing text documents. 
org.eclipse.jface.text.formatter Provides a text formatter add-on for an ITextViewer
org.eclipse.jface.text.information Provides an information provider add-on for an ITextViewer
org.eclipse.jface.text.presentation Provides a presentation reconciler add-on for an ITextViewer
org.eclipse.jface.text.reconciler Provides a reconciler add-on for an ITextViewer
org.eclipse.jface.text.rules Provides a framework for rule based text scanning and uses the framework to provide rule-driven default implementations of IPresentationDamager, IPresentationRepairer and IDocumentPartitioner
org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those annotations in combination with an ITextViewer
org.eclipse.text.edits   
org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules. 
 

Uses of IRegion in org.eclipse.debug.ui.console
 

Methods in org.eclipse.debug.ui.console that return IRegion
 IRegion IConsole.getRegion(IConsoleHyperlink link)
          Returns the region of text associated with the given hyperlink, or null if the given hyperlink is not contained in this console.
 

Methods in org.eclipse.debug.ui.console with parameters of type IRegion
 void IConsoleLineTracker.lineAppended(IRegion line)
          Notification that a line of text has been appended to the console.
 

Uses of IRegion in org.eclipse.jface.text
 

Subinterfaces of IRegion in org.eclipse.jface.text
 interface ITypedRegion
          Describes a region of an indexed text store such as document or string.
 

Classes in org.eclipse.jface.text that implement IRegion
 class Region
          A default implementation of the IRegion interface.
 class TypedRegion
          Default implementation of ITypedRegion.
 

Methods in org.eclipse.jface.text that return IRegion
 IRegion ProjectionDocument.computeParentDocumentRegion(int offset, int length)
          Computes and returns the region of the parent document that corresponds to the given region of the projection document.
 IRegion CoordinatesTranslator.toOriginRegion(IRegion imageRegion)
           
 IRegion CoordinatesTranslator.toOriginLines(int imageLine)
           
 IRegion CoordinatesTranslator.toImageRegion(IRegion originRegion)
           
 IRegion CoordinatesTranslator.getCoverage()
           
 IRegion ParentChildMapping.getCoverage()
           
 IRegion ParentChildMapping.toOriginRegion(IRegion imageRegion)
           
 IRegion ParentChildMapping.toOriginLines(int imageLine)
           
 IRegion ParentChildMapping.toImageRegion(IRegion originRegion)
           
 IRegion ILineTracker.getLineInformationOfOffset(int offset)
          Returns a line description of the line at the given offset.
 IRegion ILineTracker.getLineInformation(int line)
          Returns a line description of the given line.
 IRegion IDocumentPartitionerExtension.documentChanged2(DocumentEvent event)
          The document has been changed.
 IRegion IDocumentInformationMapping.getCoverage()
          Returns the minimal region of the original document that completely comprises all of the image document or null if there is no such region.
 IRegion IDocumentInformationMapping.toOriginRegion(IRegion imageRegion)
          Returns the minimal region of the original document that completely comprises the given region of the image document or null if there is no such region.
 IRegion IDocumentInformationMapping.toOriginLines(int imageLine)
          Returns the range of lines of the original document that corresponds to the given line of the image document or null if there are no such lines.
 IRegion IDocumentInformationMapping.toImageRegion(IRegion originRegion)
          Returns the minimal region of the image document that completely comprises the given region of the original document or null if there is no such region.
 IRegion IDocument.getLineInformation(int line)
          Returns a description of the specified line.
 IRegion IDocument.getLineInformationOfOffset(int offset)
          Returns a description of the line at the given offset.
 IRegion FindReplaceDocumentAdapter.search(int startOffset, String findString, boolean forwardSearch, boolean caseSensitive, boolean wholeWord, boolean regExSearch)
          Returns the region of a given search string in the document based on a set of search criteria.
 IRegion FindReplaceDocumentAdapter.findReplace(FindReplaceOperationCode operationCode, int startOffset, String findString, String replaceText, boolean forwardSearch, boolean caseSensitive, boolean wholeWord, boolean regExSearch)
          Stateful findReplace executes a FIND, REPLACE, REPLACE_FIND or FIND_FIRST operation.
 IRegion FindReplaceDocumentAdapter.replace(String text, boolean regExReplace)
          Subsitutes the previous match with the given text.
 IRegion DocumentPartitioningChangedEvent.getChangedRegion(String partitioning)
          Returns the changed region of the given partitioning or null if the given partitioning did not change.
 IRegion DocumentPartitioningChangedEvent.getCoverage()
          Returns the coverage of this event.
 IRegion AbstractLineTracker.getLineInformationOfOffset(int position)
           
 IRegion AbstractLineTracker.getLineInformation(int line)
           
 IRegion AbstractDocument.getLineInformation(int line)
           
 IRegion AbstractDocument.getLineInformationOfOffset(int offset)
           
protected  IRegion TextViewer.getExtent(int start, int end)
          Returns the region covered by the given start and end offset.
 IRegion TextViewer.getVisibleRegion()
           
protected  IRegion TextViewer._internalGetVisibleRegion()
          Returns the visible region if it is not equal to the whole document.
 IRegion TextViewer.modelRange2WidgetRange(IRegion modelRange)
           
 IRegion TextViewer.widgetRange2ModelRange(IRegion widgetRange)
           
 IRegion TextViewer.getModelCoverage()
           
protected  IRegion TextViewer.modelRange2WidgetRange(Position modelPosition)
           
protected  IRegion TextViewer.event2ModelRange(VerifyEvent event)
          Translates the widget region of the given verify event into the corresponding region of the viewer's document.
 IRegion TextPresentation.getCoverage()
          Returns the coverage of this presentation as clipped by the presentation's result window.
 IRegion TextPresentation.getExtent()
          Returns the extent of this presentation clipped by the presentation's result window.
 IRegion ITextViewerExtension3.getModelCoverage()
          Returns the minimal region of the viewer's document that completely comprises everything that is visible in the viewer's widget.
 IRegion ITextViewerExtension3.modelRange2WidgetRange(IRegion modelRange)
          Returns the minimal region of the viewer's widget that completely comprises the given region of the viewer's document or null if there is no such region.
 IRegion ITextViewerExtension3.widgetRange2ModelRange(IRegion widgetRange)
          Returns the minimal region of the viewer's document that completely comprises the given widget region or null if there is no such region.
 IRegion ITextViewer.getVisibleRegion()
          Returns the current visible region of this viewer's document.
 IRegion ITextHover.getHoverRegion(ITextViewer textViewer, int offset)
          Returns the text region which should serve as the source of information to compute the hover popup display information.
 IRegion IFindReplaceTargetExtension.getScope()
          Returns the find scope of the target, null for global scope.
 

Methods in org.eclipse.jface.text with parameters of type IRegion
 IRegion CoordinatesTranslator.toOriginRegion(IRegion imageRegion)
           
 IRegion CoordinatesTranslator.toImageRegion(IRegion originRegion)
           
 IRegion ParentChildMapping.toOriginRegion(IRegion imageRegion)
           
 IRegion ParentChildMapping.toImageRegion(IRegion originRegion)
           
 void IDocumentPartitioningListenerExtension.documentPartitioningChanged(IDocument document, IRegion region)
          The partitioning of the given document changed in the given region.
 IRegion IDocumentInformationMapping.toOriginRegion(IRegion imageRegion)
          Returns the minimal region of the original document that completely comprises the given region of the image document or null if there is no such region.
 IRegion IDocumentInformationMapping.toImageRegion(IRegion originRegion)
          Returns the minimal region of the image document that completely comprises the given region of the original document or null if there is no such region.
protected  void AbstractDocument.fireDocumentPartitioningChanged(IRegion region)
          Deprecated. use fireDocumentPartitioningChanged(DocumentPartitioningChangedEvent) instead
protected  void AbstractDocument.doFireDocumentChanged(DocumentEvent event, boolean firePartitionChange, IRegion partitionChange)
          Deprecated. use doFireDocumentChanged2(DocumentEvent) instead; this method will be removed
 IRegion TextViewer.modelRange2WidgetRange(IRegion modelRange)
           
 IRegion TextViewer.widgetRange2ModelRange(IRegion widgetRange)
           
 void TextPresentation.setResultWindow(IRegion resultWindow)
          Sets the result window for this presentation.
 IRegion ITextViewerExtension3.modelRange2WidgetRange(IRegion modelRange)
          Returns the minimal region of the viewer's widget that completely comprises the given region of the viewer's document or null if there is no such region.
 IRegion ITextViewerExtension3.widgetRange2ModelRange(IRegion widgetRange)
          Returns the minimal region of the viewer's document that completely comprises the given widget region or null if there is no such region.
 String ITextHover.getHoverInfo(ITextViewer textViewer, IRegion hoverRegion)
          Returns the text which should be presented if a hover popup is shown for the specified hover region.
 void IFindReplaceTargetExtension.setScope(IRegion scope)
          Sets the find scope of the target to operate on.
 

Constructors in org.eclipse.jface.text with parameters of type IRegion
TextPresentation(IRegion extent, int sizeHint)
          Creates a new empty text presentation with the given extent.
 

Uses of IRegion in org.eclipse.jface.text.formatter
 

Methods in org.eclipse.jface.text.formatter with parameters of type IRegion
 void IContentFormatter.format(IDocument document, IRegion region)
          Formats the given region of the specified document.The formatter may safely assume that it is the only subject that modifies the document at this point in time.
 void ContentFormatter2.format(IDocument document, IRegion region)
           
 void ContentFormatter.format(IDocument document, IRegion region)
           
 

Uses of IRegion in org.eclipse.jface.text.information
 

Methods in org.eclipse.jface.text.information that return IRegion
 IRegion IInformationProvider.getSubject(ITextViewer textViewer, int offset)
          Returns the region of the text viewer's document close to the given offset that contains a subject about which information can be provided.
 

Methods in org.eclipse.jface.text.information with parameters of type IRegion
 Object IInformationProviderExtension.getInformation2(ITextViewer textViewer, IRegion subject)
          Returns the element for the given subject or null if no element is available.
 String IInformationProvider.getInformation(ITextViewer textViewer, IRegion subject)
          Deprecated. As of 2.1, replaced by IInformationProviderExtension.getInformation2(ITextViewer, IRegion)
 

Uses of IRegion in org.eclipse.jface.text.presentation
 

Methods in org.eclipse.jface.text.presentation that return IRegion
 IRegion IPresentationDamager.getDamageRegion(ITypedRegion partition, DocumentEvent event, boolean documentPartitioningChanged)
          Returns the damage in the document's presentation caused by the given document change.
 

Uses of IRegion in org.eclipse.jface.text.reconciler
 

Classes in org.eclipse.jface.text.reconciler that implement IRegion
 class DirtyRegion
          A dirty region describes a document range which has been changed.
 

Methods in org.eclipse.jface.text.reconciler with parameters of type IRegion
 void IReconcilingStrategy.reconcile(DirtyRegion dirtyRegion, IRegion subRegion)
          Activates incremental reconciling of the specified dirty region.
 void IReconcilingStrategy.reconcile(IRegion partition)
          Activates non-incremental reconciling.
 IReconcileResult[] IReconcileStep.reconcile(DirtyRegion dirtyRegion, IRegion subRegion)
          Activates incremental reconciling of the specified dirty region.
 IReconcileResult[] IReconcileStep.reconcile(IRegion partition)
          Activates non-incremental reconciling.
 IReconcileResult[] AbstractReconcileStep.reconcile(IRegion partition)
           
 IReconcileResult[] AbstractReconcileStep.reconcile(DirtyRegion dirtyRegion, IRegion subRegion)
           
protected abstract  IReconcileResult[] AbstractReconcileStep.reconcileModel(DirtyRegion dirtyRegion, IRegion subRegion)
          Reconciles the model of this reconcile step.
 

Uses of IRegion in org.eclipse.jface.text.rules
 

Methods in org.eclipse.jface.text.rules that return IRegion
 IRegion RuleBasedPartitioner.documentChanged2(DocumentEvent e)
          Deprecated.  
 IRegion DefaultPartitioner.documentChanged2(DocumentEvent e)
           
 IRegion DefaultDamagerRepairer.getDamageRegion(ITypedRegion partition, DocumentEvent e, boolean documentPartitioningChanged)
           
 

Uses of IRegion in org.eclipse.jface.text.source
 

Methods in org.eclipse.jface.text.source that return IRegion
 IRegion ProjectionSourceViewer.getVisibleRegion()
           
protected  IRegion ProjectionSourceViewer.internalGetVisibleRegion()
           
 IRegion SourceViewer.getRangeIndication()
           
 IRegion ISourceViewer.getRangeIndication()
          Returns the viewer's range indication.
 IRegion ICharacterPairMatcher.match(IDocument iDocument, int i)
          Starting at the given offset, the matcher chooses a character close to this offset.
 

Uses of IRegion in org.eclipse.text.edits
 

Methods in org.eclipse.text.edits that return IRegion
 IRegion TextEdit.getRegion()
          Returns the range that this edit is manipulating.
static IRegion TextEdit.getCoverage(TextEdit[] edits)
          Returns the text range spawned by the given array of text edits.
static IRegion MoveSourceEdit.intersect(TextEdit op1, TextEdit op2)
           
 

Uses of IRegion in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor that return IRegion
 IRegion ITextEditor.getHighlightRange()
          Returns the highlighted range of this text editor.
 IRegion AbstractTextEditor.getHighlightRange()
           
protected static IRegion AbstractTextEditor.getCoverage(ISourceViewer viewer)
          Returns the minimal region of the given source viewer's document that completely comprises everything that is visible in the viewer's widget.
 


Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.